From b558580d6f7bbca0dc08645e289458abd335f0c6 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sun, 17 Jan 2010 17:57:11 +0000 Subject: [PATCH] libxl: add a newline to xl logging Signed-off-by: Stefano Stabellini --- tools/libxl/xl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 1e95ac5d5c..ed3ca4e1ce 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -68,7 +68,7 @@ static int domain_qualifier_to_domid(struct libxl_ctx *ctx, char *p, uint32_t *d return libxl_name_to_domid(ctx, p, domid); } -#define LOG(_f, _a...) dolog(__FILE__, __LINE__, __func__, _f, ##_a) +#define LOG(_f, _a...) dolog(__FILE__, __LINE__, __func__, _f "\n", ##_a) void dolog(const char *file, int line, const char *func, char *fmt, ...) { -- 2.30.2